package cs383.GradUnit;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class aMainMenu extends Activity {
	
	Button btnNew, btnLoad, btnOptions;
	OnClickListener lstnNew, lstnLoad, lstnOptions;
	
	public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
        setContentView(R.layout.mainmenu);
	}
	public void onResume(){
		super.onResume();
		initialize();
		
	}
	public void onStop(){
		super.onStop();
	}
	public void onDestroy(){
		super.onDestroy();
		
	}
	
	public void initialize(){
		btnNew = (Button)findViewById(R.id.MainMenu_btnNew);
		lstnNew = new Button.OnClickListener(){
			public void onClick(View v) {
				Intent startGame = new Intent(aMainMenu.this,aGame.class);
				startActivity(startGame);
				
			}
			
		};
		btnNew.setOnClickListener(lstnNew);
		
	}
	

}
